#ifndef _RS485_H
#define _RS485_H

//#define RS485_PORT  1
int Rs485Init(void);
int Rs485IGetChar(unsigned char *buf);
int Rs485IRawSend(unsigned char *buf, int len);
int CardUartGetchar(unsigned char *buf);
int CardUartRawSend(unsigned char *buf,int len);
int LcdUartRawSend(unsigned char *buf,int len);
int LcdUartGetchar(unsigned char *buf);
int CzUartRawSend(unsigned char *buf,int len);
int CzUartGetchar(unsigned char *buf);
int DebugUartRawSend(unsigned char *buf,int len);
int DebugUartGetchar(unsigned char *buf);

int Rs485_DirTx(int port);
int Rs485_DirRx(int port);
#endif /*_RS485_H*/

